package com.ty.day3;

import java.util.Scanner;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create 2023/11/8 17:24
 */
public class Case1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x, y;
        System.out.println("请输入两个整数：");
        x = sc.nextInt();
        y = sc.nextInt();
        int max = x > y ? x : y;
        System.out.println("最大数为: " + max);
    }
}
